<template>
  <div>
    活了{{sum}}
  </div>
</template>

<script>
export default {
  data () {
    return {
      sum: 0
    }
  },
  created () {
    const nowDate = +new Date()
    const bir = +new Date('1998-6-11')
    this.sum = Math.ceil((nowDate - bir) / 1000 / 60 / 60 / 24)
  }
}
</script>

<style>
</style>
